﻿namespace Z2.Editor
{
	using System;
	using System.Collections.Generic;
	using System.Text;
	using vKapse.DDTool.Core;

	internal class MapTriggerGroup : TriggerGroup
	{
		private static readonly BackgroundTrigger _background = new BackgroundTrigger();
		private static readonly MapPropertiesTrigger _mapProperties = new MapPropertiesTrigger();
		private static readonly MapTestTrigger _mapTest = new MapTestTrigger();
		private static readonly ScriptTrigger _script = new ScriptTrigger();
		private static readonly PutTrigger _put = new PutTrigger();
		private static readonly SelectTrigger _select = new SelectTrigger();
		private static readonly DeleteTrigger _delete = new DeleteTrigger();
		private static readonly SizeTrigger _size = new SizeTrigger();

		public MapTriggerGroup()
			: base("Mapa", 1)
		{
			//this.AddTrigger(_put);
			this.AddTrigger(_select);
			this.AddTrigger(_delete);
			this.AddTrigger(_size);
			this.AddTrigger(SeparatorTrigger.Instance);
			this.AddTrigger(_script);
			this.AddTrigger(_mapProperties);
			this.AddTrigger(_background);
			this.AddTrigger(SeparatorTrigger.Instance);
			this.AddTrigger(_mapTest);
		}

		public static BackgroundTrigger Background
		{
			get { return _background; }
		}

		public static SizeTrigger Size
		{
			get { return _size; }
		}

		public static SelectTrigger Select
		{
			get { return _select; }
		}

		public static DeleteTrigger Delete
		{
			get { return _delete; }
		}

		public static ScriptTrigger Script
		{
			get { return _script; }
		}

		public static MapPropertiesTrigger MapProperties
		{
			get { return _mapProperties; }
		}

		public static MapTestTrigger MapTest
		{
			get { return _mapTest; }
		}

	}
}
